dom.hasCharacterMarkup()

Availability 3.0
Description Checks whether the selection already has the specified character markup.
Arguments markupTagName
The argument is the name of the tag you're checking for. It must be one of the following strings: "b", "cite", "code", "dfn", "em", "i", "kbd", "samp", "s", "strong", "tt", "u", or "var".
Returns A Boolean value indicating whether the entire selection has the specified character markup. The function returns FALSE if only part of the selection has the specified markup.
Enabler None.